class CreateTags < ActiveRecord::Migration
  def self.up
    create_table :tags do |t|
		t.column :comment_id,:integer
		t.column :word,:integer
		t.column :karma,:integer 
		t.column :delete, :string, :limit => 3, :default => 'NO', :null => false
		t.column :create_on, :datetime
		t.column :update_on, :datetime
    end
  end

  def self.down
    drop_table :tags
  end
end

